package com.example.teachingSystem.service;

import com.example.teachingSystem.pojo.entity.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.teachingSystem.pojo.form.BasePageQuery;
import com.example.teachingSystem.pojo.form.TS.AddTeachForm;
import com.example.teachingSystem.pojo.form.TS.UpdateTeachForm;
import com.example.teachingSystem.pojo.vo.TeachInfoVo;
import com.example.teachingSystem.utils.result.PageResult;
import com.example.teachingSystem.utils.result.Result;

/**
* @author 86147
* @description 针对表【teacher(教师表)】的数据库操作Service
* @createDate 2023-12-07 15:22:37
*/
public interface TeacherService extends IService<Teacher> {
    Result<String> adminAddTeacher(AddTeachForm addTeachForm);
    Result<String> adminDeleteTeacher(Long teachId);
    Result<TeachInfoVo>getTeacherById(Long teachId);
    PageResult<TeachInfoVo> adminGetTeacher(BasePageQuery basePageQuery);
    Result<String> adminUpadeTeacher(UpdateTeachForm updateTeachForm);

}
